package com.csr.csrcheck.mapper;

import com.csr.csrcheck.pojo.News;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {
    List<News> getAllNews();

    Integer addNews(News paramNews);

    News getnewsbyid(@Param("id") Integer paramInteger);

    int updateNews(News paramNews);

    int deleteNews(int paramInt);
}
